<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=8">
<meta http-equiv="Expires" content="0">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-control" content="no-cache">
<meta http-equiv="Cache" content="no-cache">
    <title>成绩单</title>
</head>
<body>

<select>
  <option value ="2017">{{ a1 }}</option>
  <option value ="2016">{{ a2 }}</option>
  <option value="2015">{{ a3 }}</option>
  <option value="2014">{{ a4 }}</option>
    <option value="2014">{{ a5 }}</option>
</select>

{% for pic in filename %}
<img src="{{url_for('static',filename=pic)}}"><br>
{% endfor %}
</body>
</html>